Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Subtracting Points


Q3Param2D_Subtract

You can use the Q3Param2D_Subtract function to subtract one two-dimensional parametric point from another.

TQ3Vector2D *Q3Param2D_Subtract (
const TQ3Param2D *p1, 
const TQ3Param2D *p2, 
TQ3Vector2D *result);
p1
A two-dimensional parametric point.
p2
A two-dimensional parametric point.
result
On exit, a two-dimensional vector that is the result of subtracting the parametric point p2 from p1.
DESCRIPTION
The Q3Param2D_Subtract function returns, as its function result and in the result parameter, the two-dimensional vector that is the result of subtracting the parametric point p2 from p1.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996